GNUPro Toolkit Documentation|Index
GNUPro Math Library

Copyright © 1992-1997 Cygnus®. All rights reserved.

GNUPro®, the GNUPro® logo and the Cygnus logo are all trademarks of Cygnus. All other brand and product names are trademarks of their respective owners.

Permission is granted to make and distribute verbatim copies of this documentation, provided the copyright notice and this permission notice are preserved on all copies.

Permission is granted to copy and distribute modified versions of this documentation under the conditions for verbatim copying, provided also that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.

Permission is granted to copy and distribute translations of this documentation into another language, under the above conditions for modified versions.

Original document written by: Steve Chamberlain and Roland Pesch.

This documentation has been prepared by Cygnus Technical Publications; contact the Cygnus Technical Publications staff: doc@cygnus.com.

The following documentation discusses the C math library functions.

- Mathematical functions (math.h)

- acos, acosf
[arc cosine]
- acosh, acoshf
[inverse hyperbolic cosine]
- asin, asinf
[arc sine]
- asinh, asinhf
[inverse hyperbolic sine]
- atan, atanf
[arc tangent]
- atan2, atan2f
[arc tangent of y/x]
- atanh, atanhf
[inverse hyperbolic tangent]
- jN, jNf, yN, yNf
[Bessel functions]
- cbrt, cbrtf
[cube root]
- copysign, copysignf
[sign of y, magnitude of x]
- cosh, coshf
[hyperbolic cosine]
- erf, erff, erfc, erfcf
[error function]
- exp, expf
[exponential]
- expm1, expm1f
[exponential minus 1]
- fabs, fabsf
[absolute value (magnitude)]
- floor, floorf, ceil, ceilf
[floor and ceiling]
- fmod, fmodf
[floating-point remainder (modulo)]
- frexp, frexpf
[split floating-point number]
- gamma, gammaf, lgamma, lgammaf,
gamma_r, gammaf_r, lgamma_r, lgammaf_r
[logarithmic gamma function]
- hypot, hypotf
[distance from origin]
- ilogb, ilogbf
[get exponent of floating point number]
- infinity, infinityf
[representation of infinity]
- isnan, isnanf, isinf, isinff, finite, finitef
[test for exceptional numbers]
- ldexp, ldexpf
[load exponent]
- log, logf
[natural logarithms]
- log10, log10f
[base 10 logarithms]
- log1p, log1pf
[log of 1 + x]
- matherr
[modifiable math error handler]
- modf, modff
[split fractional and integer parts]
- nan, nanf
[representation of infinity]
- nextafter, nextafterf
[get next number]
- pow, powf
[x to the powery]
- rint, rintf, remainder, remainderf
[round and remainder]
- scalbn, scalbnf
[scale by integer]
- sqrt, sqrtf
[positive square root]
- sin, sinf, cos, cosf
[sine or cosine]
- sinh, sinhf
[hyperbolic sine]
- tan, tanf
[tangent]
- tanh, tanhf
[hyperbolic tangent]

- Reentrancy properties of libm
- Index